package ModelLayer;

public class SalesProduct
{
private int salesId;
private int quantity;
private Product product;
private int orderId;
private double subtotal;

public SalesProduct(int salesId,int quantity, Product product,int orderId,double subtotal)
{
    this.salesId=salesId;
    this.product = product;
    this.quantity = quantity;
    this.subtotal = subtotal;
    this.orderId = orderId;
}

public void setSelesId(int salesId)
{
	this.salesId = salesId;
}

public void setQuantity(int quantity)
{
	this.quantity = quantity;
}

public void setProduct(Product product)
{
	this.product = product;
}

public void setOrderId(int orderId)
{
	this.orderId = orderId;
}

public void setSubtotal(double subtotal)
{
	this.subtotal = subtotal;
}

public int getSalesId()
{
	return salesId;
}

public int setQuantity()
{
	return quantity;
}

public Product setProduct()
{
	return product;
}

public int setOrderId()
{
	return orderId;
}

public double setSubtotal()
{
	return subtotal;
}

}


